-- =============================================
-- Table: user
-- Purpose:	Will store information for users of the system
-- Author: Dale McFarlane
-- Created: 2013-1-17
-- Modification History
-- Modified By	Modification Date	Reason
-- =====================================================================================
--  
-- =====================================================================================

SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

CREATE TABLE [dbo].[user](
	[user_id] bigint IDENTITY(1,1) NOT NULL,
	[username] [varchar](50) NOT NULL,
	[first_name] [varchar](100) NOT NULL,
	[last_name] [varchar](100) NOT NULL,
	[email_address] varchar(255) NULL,
	[password] varchar(255) NULL,
	[created_date] [datetime] NOT NULL,
	CONSTRAINT [pkn_user] PRIMARY KEY CLUSTERED 
	(
		[user_id] ASC
	)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

SET ANSI_PADDING ON
GO
